package entities.box_plot;

import data.enums.ArchiveDescription;
import data.enums.TableType;
import entities.AbstractTable;

public class TableBoxPlotByNeurons extends AbstractTable<Integer> {

	public TableBoxPlotByNeurons(TableMlpTestsOneIndexByContinent tableMlp, ArchiveDescription description) {
		super(tableMlp, description, TableType.BOX_PLOT_BY_NUMBER_OF_NEURONS);
	}

	@Override
	protected void initializeTable(TableMlpTestsOneIndexByContinent tableMlp) {

		for (RowOneIndexByContinent row : tableMlp.getRows()) {
			addRow(row.getNumberOfHiddenNeurons(), row.getPercentualCorrect());
		}

	}

}
